﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Chess.Client.Model;
using Chess.Client.View;
using Chess.Client.ViewModel;

namespace Chess.Client
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void OnStartup(object sender, StartupEventArgs e)
        {
            var main = new MainWindow();
            var mainViewModel = new MainViewModel(Dispatcher);
            main.DataContext = mainViewModel;
            main.Show();
        }
    }
}
